FROM openjdk:8-jdk-alpine

ADD target/*.jar /cloud-service/bit-product.jar

RUN echo 'Asia/Shanghai' > /etc/timezone

EXPOSE 12000
ENTRYPOINT [ "java","-jar","-Xms100m","-Xmx100m","-Dspring.profiles.active=prod","/cloud-service/bit-product.jar" ]